Socket
Socket
Sign inDemoInstall

eslint-plugin-ember

Package Overview
Dependencies
Maintainers
6
Versions
184
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-ember

Eslint plugin for Ember.js apps


Version published
Weekly downloads
146K
decreased by-9.56%
Maintainers
6
Weekly downloads
 
Created

What is eslint-plugin-ember?

eslint-plugin-ember is an ESLint plugin that provides linting rules specific to Ember.js applications. It helps developers follow best practices and maintain consistency in their Ember.js codebase.

What are eslint-plugin-ember's main functionalities?

Best Practices

This rule enforces the best practice of avoiding the use of observers in Ember.js applications. Observers can lead to unpredictable behavior and are generally discouraged.

module.exports = {
  rules: {
    'ember/no-observers': 'error'
  }
};

Stylistic Issues

This rule ensures that developers use Ember's `get` and `set` methods for property access and assignment, which is a stylistic convention in Ember.js.

module.exports = {
  rules: {
    'ember/use-ember-get-and-set': 'error'
  }
};

Ember-Specific Rules

This rule disallows the use of jQuery in Ember.js applications, encouraging developers to use native DOM APIs or Ember's own abstractions.

module.exports = {
  rules: {
    'ember/no-jquery': 'error'
  }
};

Other packages similar to eslint-plugin-ember

Keywords

FAQs

Package last updated on 23 Aug 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc